Missing $row variable check and removed deprecated call by reference

Fixes:
PHP Notice:  Undefined variable: row in /var/www/openemr/gacl/gacl.class.php on line 511, referer: http://openemr.example.com/interface/main/main_screen.php?auth=login&site=default

Explained in forum Post:
http://sourceforge.net/p/openemr/discussion/202506/thread/0d5f818e/
Missing $_REQUEST variable in messages check

Fixes:
PHP Notice:  Undefined index: form_inactive in /var/www/openemr/interface/main/messages/messages.php on line 65, referer: http://openemr.example.com/interface/main/main_screen.php?auth=login&site=default

Explained in Forum Post:
http://sourceforge.net/p/openemr/discussion/202506/thread/fe1103ea/