World number two Andy Murray made a winning return to competitive action against Marcel Granollers in the Rogers Cup, one month on from his Wimbledon triumph.