Boundary effects on the onset of miscible viscous fingering in a Hele-Shaw flow