David McGoldrick says he will approach Notts County's final matches of the season as if his Magpies future depends on them.