A Greenock pharmacy has been given approval to add a modular building extension onto its existing premises.