fix disabling of magic quotes

Both get_magic_quotes_*() functions return true or 1, if magic quotes are enabled. Thus the not-operators in the if's condition have to be removed, if you really want to disable magic quotes.