The influence of ramped forcing on safe basins in a mechanical oscillator