Global stability and sensitivity analysis of boundary-layer flows past a hemispherical roughness element