Rayleigh‐Taylor instability in the presence of a stratified shear layer