Updated D7 inheritable profiles patch's drupal_get_profiles function.

## Ready State: Yes

* Removes the `while` loop in the Inheritable Profiles patch's `drupal_get_profiles` function.

## Deployment

* Merge code.