Resonance, chaos and coexistence of attractors in a position dependent mass‐driven Duffing‐type oscillator