BibRecord: Cleanup `record_get_field_values()`

* Halve the mccabe complexity of `record_get_field_values()`, add
  assertions and fix docstring.