wc_get_product_terms - moved $fields out of "if", and added "breaks" to cases

A) `$fields` is used outside the `if` - below, so it's better defined before. Relying on `$orderby_parent` works, but may be overlooked one day.
B) Cases should end with breaks in this case, I believe