[PATCH 4.14 15/57] fs/jfs: Add validity check for db_maxag and db_agpref