MDL-40404 Libraries: Moved DEVELOPER_DEBUG outside loop
(cherry picked from commit d519c222e29ed5873f53b406c6046e9339cc20b7)

Conflicts:

	lib/tests/accesslib_test.php