On the first δ Sct–roAp hybrid pulsator and the stability of p and g modes in chemically peculiar A/F stars