Size and self-field effects in giant magnetoresistive thin-film devices