Assaying of targets for nuclear measurements with a gridded ionization chamber