Roland-Jones took his 19th wicket in just 2 matches to help secure a Middlesex victory over Glamorgan on the final day at Sophia Gardens.