Added stringToInt method to handle hex integer for FFS_ATTRIB_DATA_ALIGNMENT