Mark Byrne scored a stunning goal with a first-time volley from a corner as Gillingham beat Bristol Rovers 4-1.