x300: Fixed minor issues in X300 clk code

- Bugfix for #638
- get_ref_locked will check lock status one last time before giving up
b200: select valid 10 MHz ref (update GPIO) *before* updating ADF4001 external ref selection
Merge branch 'maint'
Merge branch 'master' into rfnoc-devel